<style scoped>

</style>
<template>
    <div class="layout">
       
        
    </div>
</template>
<script>

export default {
    name: 'index',
    data() {
        return {
        }
    },
    created (){
        console.log('index')
        if(this.$store.getters.getStatus){
            this.$router.push('/home')
        }else{
            this.$router.push('/login')
        }
    }
}
</script>
